<table class="fill_body">
	<tr>
		<th colspan="14">Visitas y Matriculas</th>
	</tr>
	<tr>
		<th colspan="14"><%= @year %></th>
	</tr>
	<tr>
		<th></th>
		<th>Ene</th>
		<th>Feb</th>
		<th>Mar</th>
		<th>Abr</th>
		<th>May</th>
		<th>Jun</th>
		<th>Jul</th>
		<th>Ago</th>
		<th>Sep</th>
		<th>Oct</th>
		<th>Nov</th>
		<th>Dic</th>
		<th>Total</th>
	</tr>
	<tr class="row0"><td>Visitas FP</td>
		<%acu = 0%>
		<%for visitasFP in @visitasFP_x_mes%>
			<td><%=h visitasFP%></td>
			<%acu += visitasFP %>
		<%end%>
		<td><%=acu%></td>
	</tr>
	<tr class="row1"><td>Visitas Perfil</td>
		<%acu=0%>
		<%for visitasP in @visitasP_x_mes%>
			<td><%=h visitasP%></td>
			<%acu += visitasP%>
		<%end%>
		<td><%=acu%></td>
	</tr>
	<tr class="row0"><td>Visitas ExAlumnos</td>
		<%acu=0%>
		<%for visitasEx in @visitasEx_x_mes%>
			<td><%=h visitasEx%></td>
			<%acu+=visitasEx%>
		<%end%>
		<td><%=acu%></td>
	</tr>
	<tr class="row1"><td align="right"><b>Visitas Totales</b></td>
		<%acu=0%>
		<%for visitas in @visitas_x_mes%>
			<td><%=h visitas%></td>
			<%acu+=visitas%>
		<%end%>
		<td><%=acu%></td>
	</tr>
	<tr class="row0"><td align="right"><b>Matriculas</b></td>
		<%acu=0%>
		<%for matrs in @matrs_x_mes%>
			<td><%=h matrs%></td>
			<%acu+=matrs%>
		<%end%>
		<td><%=acu%></td>
	</tr>
	<tr class="row1"><td align="right"><b>Efectividad</b></td>
		<%acu=n=0%>
		<%for efectividad in @efectividad_x_mes%>
			<td>
				<% if efectividad.nan? then %>
					-
				<%elsif efectividad.infinite? then%>
					Inf.
				<%else%>
					<%acu+=efectividad%>
					<%n+=1%>
					<%=h number_with_precision(efectividad,0)%>%
				<%end%>
			</td>
		<%end%>
		<td><%=if n>0 then "#{number_with_precision(acu/n,0)}%" else '-' end %></td>
	</tr>
</table>